<template>
    <div>
        <!-- 使用组件,给name 属性传入不同的用户姓名 -->
        <HelloCom name=" Jim"></HelloCom>
        <HelloCom name=" Lily"></HelloCom>
        <HelloCom name=" Bob"></HelloCom>
    </div>
</template>
<script>
import HelloCom from "./4-3 HelloCom.vue";
export default {
    //注册组件
    components: {
        HelloCom,
    },
};
</script>
<style scoped></style>